package app.beit.finportal.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@SuppressWarnings("serial")
@Entity
@Table(name="fin_menu")
public class Menu implements Serializable {

	@Id
	@Column(name="id", precision=9, scale=0, nullable=false)
	private Long id;
	
	@Column(name="name_th", length=255)
	private String nameTh;
	
	@Column(name="name_en", length=255)
	private String nameEn;
	
	@Column(name="is_active")
	private char isActive;
	
	@Column(name="description", length=255)
	private String description;
	
	@Column(name="link_url", length=100)
	private String linkURL;

	@Column(name="sort_by")
	private Integer sortBy;
	
	@Column(name="class_ui", length=50)
	private String classUI;

	public Integer getSortBy() {
		return sortBy;
	}

	public void setSortBy(Integer sortBy) {
		this.sortBy = sortBy;
	}

	public String getClassUI() {
		return classUI;
	}

	public void setClassUI(String classUI) {
		this.classUI = classUI;
	}

	public String getLinkURL() {
		return linkURL;
	}

	public void setLinkURL(String linkURL) {
		this.linkURL = linkURL;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNameTh() {
		return nameTh;
	}

	public void setNameTh(String nameTh) {
		this.nameTh = nameTh;
	}

	public String getNameEn() {
		return nameEn;
	}

	public void setNameEn(String nameEn) {
		this.nameEn = nameEn;
	}

	public char getIsActive() {
		return isActive;
	}

	public void setIsActive(char isActive) {
		this.isActive = isActive;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
}
